package org.linlinjava.litemall.db.service;

import org.linlinjava.litemall.db.domain.LitemallTopic;

import java.util.List;

public interface LitemallTopicService {

    List<LitemallTopic> getAllBytitle(String title,String subtitle,Integer page,Integer pageSize,String sort, String order);

    boolean add(LitemallTopic topic);

    boolean modify(LitemallTopic topic);

    boolean delete(LitemallTopic topic);

    LitemallTopic getTopicById(Integer id);

    List<LitemallTopic> queryList(Integer page,Integer size);

    LitemallTopic findById(Integer id);
}
